Skip to content

London | ITP-May-2026 | Carolina Villa | Sprint 1 | Form Task#1295

Open
caro-vh wants to merge 12 commits into
CodeYourFuture:mainfrom
caro-vh:tshirt-form-task
Open

London | ITP-May-2026 | Carolina Villa | Sprint 1 | Form Task#1295
caro-vh wants to merge 12 commits into
CodeYourFuture:mainfrom
caro-vh:tshirt-form-task

Conversation

@caro-vh
Copy link
Copy Markdown

@caro-vh caro-vh commented May 16, 2026

Self checklist

  • I have titled my PR with Region | Cohort | FirstName LastName | Sprint | Assignment Title
  • My changes meet the requirements of the task
  • I have tested my changes
  • My changes follow the style guide

Changelist

Used form controls to collect customers data, such as t-shirt colour and size.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 16, 2026

Deploy Preview for cyf-onboarding-module ready!

Name Link
🔨 Latest commit 0b752c0
🔍 Latest deploy log https://app.netlify.com/projects/cyf-onboarding-module/deploys/6a1081def069fd0008f3236f
😎 Deploy Preview https://deploy-preview-1295--cyf-onboarding-module.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
2 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 86 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@caro-vh caro-vh added 📅 Sprint 1 Assigned during Sprint 1 of this module Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels May 16, 2026
@cjyuan cjyuan added Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. and removed Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. labels May 17, 2026
Copy link
Copy Markdown
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Code looks good.

  2. Indentation is a bit inconsistent (both files). Can You follow this guide to enable "Format on Save" in VS Code or use VS Code's "Format Document" feature to keep your code consistently formatted?

Comment thread Form-Controls/index.html Outdated
name="full-name"
required
minlength="2"
pattern=".*\S,*\S.*"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you change this pattern so that it can also accept a name like "C J" (two characters separated by a space)?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the review, I'll have a look and fix it.

Comment thread Form-Controls/index.html Outdated
Comment on lines +39 to +40
<input type="radio" id="red" name="colour" value="red" required>
<label for="red">red</label>
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: If you wrap the <input> element inside <label>, you would not need to introduce id.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, I thought it was necessary for an easier manipulation in CSS, thank you for letting me know

@cjyuan cjyuan added Reviewed Volunteer to add when completing a review with trainee action still to take. and removed Review in progress This review is currently being reviewed. This label will be replaced by "Reviewed" soon. labels May 17, 2026
@cjyuan
Copy link
Copy Markdown
Contributor

cjyuan commented May 17, 2026

Can you edit the PR description so that the "Changelist" word is a level-2 header instead of a normal paragraph?
That is, make it look like

Changelist

instead of

Changelist

@github-actions

This comment has been minimized.

@caro-vh caro-vh added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 21, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 21, 2026
Copy link
Copy Markdown
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good, but it seems you have accidently included the "GitHomeworkFixErrors" folder in your "Module-Onboarding" folder (on this branch). You need to remove that folder or move that folder out of your "Module-Onboarding" folder to keep this branch clean. Otherwise the Validation bot will reject your PR.

@caro-vh
Copy link
Copy Markdown
Author

caro-vh commented May 22, 2026

Thank you for letting me know, I'll fix it

@caro-vh caro-vh added the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 22, 2026
@github-actions

This comment has been minimized.

@github-actions github-actions Bot removed the Needs Review Trainee to add when requesting review. PRs without this label will not be reviewed. label May 22, 2026
Copy link
Copy Markdown
Contributor

@cjyuan cjyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good. Well done.

Comment thread Form-Controls/index.html
Comment on lines +65 to +67
</body>

</html> No newline at end of file
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems the code is manually indented.

You may want to follow this guide and
enable "Format on Save" in VS Code or use VS Code's "Format Document" feature to keep your code consistently formatted. It could save you some time.

@cjyuan cjyuan added Complete Volunteer to add when work is complete and all review comments have been addressed. and removed Reviewed Volunteer to add when completing a review with trainee action still to take. labels May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complete Volunteer to add when work is complete and all review comments have been addressed. 📅 Sprint 1 Assigned during Sprint 1 of this module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants